/* Modern SSL Generator - High Performance Style */


:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #06b6d4;
    --success: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --font-main: 'Outfit', sans-serif;
}

body {
    background: #f1f5f9;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-size: 100% 100vh;
    background-repeat: no-repeat;
    font-family: var(--font-main);
    color: var(--dark);
    min-height: 100vh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 38px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Main Container */
.main-wrapper {
    padding: 4rem 1rem;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glass Card */
.custom-content {
    background: var(--glass-bg);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Typography */
h1 {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}
h2 {
    font-size: calc(1.275rem + .3vw);
  
}
h3 {
    font-size: calc(1.275rem + .3vw);
    color: #64748b;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Inputs */
.form-control {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: var(--dark);
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
}

.helper-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Radio Choice Cards */
.verification-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    margin: 0;
}

.form-check.option-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.form-check.option-card:has(input:checked) {
    border-color: var(--primary);
    background: #eef2ff;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e1;
    margin-right: 0.75rem;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Action Button */
.custom-button {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.custom-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.custom-button:active {
    transform: translateY(0);
}

/* Result Area */
.list-group-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
}

.text-success {
    color: var(--success) !important;
}

/* Loader Overlay */
#progressbar,
#dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
}

/* Dialog */
.dialog-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.dialog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.btn-dismiss {
    background: #f1f5f9;
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    transition: 0.2s;
}

.btn-dismiss:hover {
    background: #e2e8f0;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-content {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
  h2 {
        font-size: 1rem;
    }
    .verification-options {
        grid-template-columns: 1fr;
    }
}