/* ================================
   CLAIM PROFILE PAGE
   ================================ */

.claim-profile-page {
    padding: 4rem 0;
    min-height: 80vh;
    background: #111;
}

/* Error State */
.claim-error {
    text-align: center;
    padding: 6rem 2rem;
}

.claim-error .error-icon {
    font-size: 5rem;
    color: #cc3333;
    margin-bottom: 2rem;
}

.claim-error h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.claim-error p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Profile Preview */
.profile-preview h2,
.claim-action h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-card {
    background: #000;
    border: 1px solid #222;
    padding: 2rem;
}

.preview-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222;
}

.preview-photo img,
.preview-photo .photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.preview-photo .photo-placeholder {
    background: #cc3333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    color: #fff;
}

.preview-info h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.preview-rank {
    display: block;
    color: #cc3333;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.preview-academy {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.preview-location {
    color: #555;
}

.preview-lineage {
    background: #111;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
}

.lineage-label {
    color: #666;
}

.lineage-name {
    color: #fff;
    font-weight: 600;
}

.preview-features h4 {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.preview-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-features li {
    color: #ccc;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-features li i {
    color: #28a745;
}

.preview-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.preview-note i {
    margin-right: 0.5rem;
    color: #888;
}

/* Pricing Card */
.pricing-card {
    background: #000;
    border: 2px solid #cc3333;
    padding: 2.5rem;
    text-align: center;
}

.pricing-card-error {
    border-color: #666;
}

.pricing-card .price {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    line-height: 1;
}

.pricing-card .price-period {
    color: #666;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-features li {
    color: #ccc;
    padding: 0.65rem 0;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #cc3333;
}

.btn-claim {
    display: block;
    width: 100%;
    background: #cc3333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.25rem;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-claim:hover {
    background: #a82929;
    color: #fff;
}

.login-prompt {
    color: #888;
    margin-bottom: 1rem;
}

.login-note {
    color: #666;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.error-text {
    color: #cc3333;
}

.claim-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.85rem;
}

.claim-guarantee i {
    color: #28a745;
}

.claim-support {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

.claim-support p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.claim-support a {
    color: #cc3333;
}


/* ================================
   PROFILE PAGE
   ================================ */

.profile-page {
    padding: 4rem 0;
    min-height: 80vh;
    background: #111;
}

/* No Profile State */
.no-profile {
    text-align: center;
    padding: 6rem 2rem;
}

.no-profile-icon {
    font-size: 5rem;
    color: #333;
    margin-bottom: 2rem;
}

.no-profile h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.no-profile p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Sidebar */
.profile-sidebar {
    background: #000;
    padding: 2rem;
    border: 1px solid #222;
}

.profile-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.profile-avatar img,
.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    background: #cc3333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-family: 'Oswald', sans-serif;
    color: #fff;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: #cc3333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.avatar-upload-btn:hover {
    background: #a82929;
}

.profile-name {
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-belt {
    display: block;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.profile-academy {
    display: block;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Status Badges */
.profile-status {
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-verified {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-badge.status-unverified {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

/* Profile Nav */
.profile-nav {
    border-top: 1px solid #222;
    padding-top: 1.5rem;
}

.profile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    color: #888;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 1px solid #222;
    transition: color 0.2s ease, padding-left 0.2s ease;
    text-decoration: none;
}

.profile-nav a:last-child {
    border-bottom: none;
}

.profile-nav a:hover {
    color: #fff;
    padding-left: 0.5rem;
}

.profile-nav a.active {
    color: #cc3333;
}

.profile-nav a.logout-link {
    color: #666;
}

.profile-nav a.logout-link:hover {
    color: #cc3333;
}

/* Main Content */
.profile-content {
    background: #000;
    padding: 2rem;
    border: 1px solid #222;
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.profile-tab h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}

.tab-description {
    color: #888;
    margin-bottom: 2rem;
}

/* Forms */
.profile-form .form-group {
    margin-bottom: 1.5rem;
}

.profile-form label {
    display: block;
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.profile-form .form-control {
    background: #222;
    border: 1px solid #333;
    border-radius: 0;
    color: #fff;
    padding: 0.85rem 1rem;
    width: 100%;
}

.profile-form .form-control:focus {
    background: #222;
    border-color: #cc3333;
    box-shadow: none;
    color: #fff;
    outline: none;
}

.profile-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.profile-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.save-status {
    color: #28a745;
    font-size: 0.9rem;
}

.form-text {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Lineage Path */
.lineage-path {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
}

.lineage-node {
    background: #222;
    padding: 1rem 1.5rem;
    border-left: 3px solid #333;
}

.lineage-node.current {
    background: #cc3333;
    border-left-color: #cc3333;
}

.lineage-node a {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
}

.lineage-node a:hover {
    text-decoration: underline;
}

.lineage-connector {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #444;
}

.professor-name {
    color: #fff;
    font-size: 1.1rem;
}

.professor-name a {
    color: #cc3333;
}

.text-muted {
    color: #666 !important;
}

/* Students List */
.students-list {
    margin-bottom: 2rem;
}

.student-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #111;
    border: 1px solid #222;
    margin-bottom: 0.5rem;
}

.student-name {
    color: #fff;
    font-weight: 600;
}

.student-badge {
    margin-left: 0.75rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.student-badge.verified {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.student-badge.claimed {
    background: rgba(204, 51, 51, 0.2);
    color: #cc3333;
}

.student-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.no-students {
    color: #666;
    text-align: center;
    padding: 2rem;
}

.add-student-form {
    background: #111;
    padding: 1.5rem;
    border: 1px solid #222;
    margin-top: 2rem;
}

.add-student-form h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.add-student-form .form-control {
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 0.75rem 1rem;
    width: 100%;
}

.add-student-form .form-control:focus {
    border-color: #cc3333;
    outline: none;
}

/* Media Section */
.media-section {
    margin-bottom: 3rem;
}

.media-section h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.photo-upload-area {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.current-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    border: 2px dashed #333;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-btn:hover {
    border-color: #cc3333;
    color: #cc3333;
}

.upload-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.videos-list {
    margin-bottom: 1rem;
}

.video-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.video-item input {
    flex: 1;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 0.75rem 1rem;
}

.video-item input:focus {
    border-color: #cc3333;
    outline: none;
}

.remove-video {
    background: transparent;
    border: 1px solid #333;
    color: #666;
    width: 45px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-video:hover {
    border-color: #cc3333;
    color: #cc3333;
}

/* Account Section */
.account-section {
    padding: 2rem 0;
    border-bottom: 1px solid #222;
}

.account-section:last-child {
    border-bottom: none;
}

.account-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.profile-status-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.profile-status-info .status-label {
    color: #888;
}

.profile-status-info .status-value {
    font-weight: 600;
    color: #888;
}

.profile-status-info .status-value.verified {
    color: #28a745;
}

.order-info {
    color: #666;
    font-size: 0.9rem;
}

.order-info a {
    color: #cc3333;
}

/* Button Variants */
.btn-auth {
    background: #cc3333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-auth:hover {
    background: #a82929;
}

.btn-outline {
    background: transparent;
    border: 2px solid #333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #cc3333;
    color: #cc3333;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Profile Notices */
.profile-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.profile-notice-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.profile-notice-error {
    background: rgba(204, 51, 51, 0.15);
    border: 1px solid #cc3333;
    color: #cc3333;
}

.notice-close {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
}

.notice-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991.98px) {
    .profile-sidebar {
        margin-bottom: 2rem;
    }
    
    .claim-action {
        margin-top: 2rem;
    }
    
    .preview-header {
        flex-direction: column;
        text-align: center;
    }
    
    .preview-photo {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .video-item {
        flex-wrap: wrap;
    }
    
    .video-item input {
        flex: 100%;
    }
    
    .remove-video {
        width: 100%;
    }
    
    .add-student-form .row > div {
        margin-bottom: 0.75rem;
    }
    
    .photo-upload-area {
        flex-direction: column;
    }
}