/* Main container styling */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Links styling */
.link-primary {
    text-decoration: underline;
}

.link-primary,
.nav-link {
    cursor: pointer;
    color: white;
}

a:link, a:visited, a:hover {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

a.dropdown-toggle, a.dropdown-toggle:hover, a.navbar-brand, li a:link {
    text-decoration: none;
    font-weight: normal;
}

/* Text styling */
b {
    font-style: italic;
    font-weight: bold;
}

/* Button styling */
button.active {
    background: #198754 !important;
    color: #fff !important;
}

/* Main card styling */
.main-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    margin: 2rem 0;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    border: none;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.card-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.card-body {
    padding: 2rem;
}

.card-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Form sections */
.form-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.form-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

/* Form check styling */
.form-check {
    margin: 0;
    padding: 0.5rem 0;
}

.form-check-input {
    display: none;
}

.form-check-label {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.form-check-label:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.form-check-input:checked + .form-check-label {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Button styling */
.btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Outline danger (red) to match primary outline behavior */
.btn-outline-danger {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Danger gradient button (for Update Password) */
.btn-danger {
    background: linear-gradient(135deg, #ff4d4d, #d93636);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 54, 54, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 54, 54, 0.35);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Modal styling */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Iframe styling */
#verifcodesif {
    border-radius: 8px;
    border: none;
}

/* Tutorial styling */
.tuts {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tuts li {
    margin-bottom: 30px;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-card {
        margin: 1rem;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .card-footer {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }
    
    .btn {
        width: 100%;
    }
}

