/**
 * My Page (Member Dashboard) Styles
 * Page-specific styles for the member dashboard/mypage
 * 
 * @package SHIPS Child
 * @subpackage Pages\MyPage
 * @version 1.0.0
 */

/* Dashboard layout */
.mypage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.mypage-header {
    background: linear-gradient(135deg, #007cba 0%, #005a8b 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.mypage-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
    font-family: var(--ui-font-family-secondary);
}

.mypage-welcome {
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Dashboard sections */
.mypage-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 2rem;
}

.mypage-section h2 {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007cba;
    font-family: var(--ui-font-family-secondary);
}

/* Profile information */
.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.profile-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.profile-field label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.profile-field span {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* Navigation menu */
.mypage-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mypage-nav a {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.mypage-nav a:hover,
.mypage-nav a.active {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

/* Recent activities */
.recent-activities {
    list-style: none;
    padding: 0;
}

.recent-activities li {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-activities li:last-child {
    border-bottom: none;
}

.activity-date {
    color: #6c757d;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    .mypage-container {
        padding: 1rem 0.5rem;
    }
    
    .mypage-header {
        padding: 1.5rem;
    }
    
    .mypage-header h1 {
        font-size: 1.5rem;
    }
    
    .mypage-section {
        padding: 1.5rem;
    }
    
    .profile-info {
        grid-template-columns: 1fr;
    }
    
    .mypage-nav {
        justify-content: center;
    }
    
    .mypage-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}