@charset "UTF-8";

/* コンテナ全体 */
.edel-mypage-container {
    max-width: 640px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    color: #333;
    border: 1px solid #eaeaea;
}

/* タイトル */
.edel-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

/* ラベル共通 */
.edel-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
}

/* フォームグループの間隔 */
.edel-form-group {
    margin-bottom: 25px;
}

/* テキスト入力・テキストエリア */
.edel-input-text,
.edel-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box; /* パディングを含める */
}

.edel-input-text:focus,
.edel-textarea:focus {
    border-color: #0084ff;
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1);
    outline: none;
}

/* アイコンアップロードエリア */
.edel-icon-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.edel-icon-preview img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.edel-file-input-wrapper input[type='file'] {
    font-size: 14px;
}

.edel-note {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 0;
}

/* プロフィール公開設定ボックス */
.edel-public-setting {
    background-color: #e6f7ff; /* 薄い青 */
    border: 1px solid #bae7ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.edel-checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #0050b3;
    margin-bottom: 5px !important;
}

.edel-checkbox-label input[type='checkbox'] {
    transform: scale(1.5);
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0084ff;
}

.edel-public-note {
    font-size: 13px;
    color: #555;
    margin: 0;
    padding-left: 28px; /* チェックボックスの幅分インデント */
    line-height: 1.5;
}

/* 最終ログイン表示 */
.edel-last-login-text {
    font-family: monospace;
    background: #eee;
    padding: 5px 10px;
    border-radius: 4px;
    color: #555;
    display: inline-block;
}

/* 保存ボタン */
.edel-form-actions {
    text-align: center;
    margin-top: 40px;
}

.edel-btn-primary {
    background-color: #0084ff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 50px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0, 132, 255, 0.2);
}

.edel-btn-primary:hover {
    background-color: #0073e6;
    transform: translateY(-1px);
}

.edel-btn-primary:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* ゲスト用メッセージ */
.edel-mypage-guest {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.edel-mypage-guest p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .edel-mypage-container {
        padding: 20px;
        margin: 20px auto;
    }
    .edel-icon-preview {
        flex-direction: column;
        text-align: center;
    }
}
