/* ============================
   ACCOUNT.CSS - Login/Register/Profile Styles
   International Science Journal
   ============================ */

/* ============================
   LOGIN PAGE
   ============================ */
.login-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.login-header {
    padding: 20px 0;
    margin-bottom: 20px;
}

.login-header .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-header .logo-section img {
    height: 50px;
}

.login-header .system-title {
    font-weight: 700;
    color: #ffc107;
    font-size: 1.1rem;
}

.login-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.login-card .login-image {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.login-card .login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.login-card .login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30,60,114,0.5) 0%, rgba(42,82,152,0.5) 100%);
    z-index: 1;
}

.login-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.login-illustration i {
    font-size: 120px;
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.login-form-section {
    padding: 40px;
}

.login-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-form-header h4 {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 5px;
}

.login-form-header small {
    color: #666;
}

.login-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #198754 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25,135,84,0.4);
}

/* ============================
   REGISTER PAGE
   ============================ */
.register-container {
    padding: 30px 0;
}

.register-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    max-width: 500px;
    margin: 0 auto;
}

.register-card .card-header {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%) !important;
    padding: 25px;
    text-align: center;
}

.register-card .card-header h4 {
    font-weight: 700;
    margin: 0;
}

.register-card .card-body {
    padding: 30px;
}

.register-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #198754 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25,135,84,0.4);
}

/* ============================
   REGISTER SUCCESS PAGE
   ============================ */
.success-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    max-width: 500px;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25,135,84,0.1) 0%, rgba(32,201,151,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
    color: #198754;
}

.success-title {
    font-weight: 700;
    color: #198754;
    margin-bottom: 15px;
}

.success-message {
    color: #666;
    line-height: 1.8;
}

/* ============================
   USER PROFILE PAGE
   ============================ */
.profile-container {
    padding: 20px 0;
}

.profile-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    max-width: 700px;
    margin: 0 auto;
}

.profile-card .card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 25px;
}

.profile-card .card-header h4 {
    font-weight: 700;
    margin: 0;
}

.profile-card .card-body {
    padding: 30px;
}

.profile-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.profile-label {
    font-weight: 600;
    color: #333;
    min-width: 150px;
}

.profile-value {
    color: #555;
}

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.profile-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Role badges in profile */
.role-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.role-badge.admin {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.role-badge.user {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    color: white;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .login-form-section {
        padding: 25px;
    }

    .register-card .card-body,
    .profile-card .card-body {
        padding: 20px;
    }

    .profile-row {
        flex-direction: column;
        gap: 5px;
    }

    .profile-label {
        min-width: auto;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
    }
}
