/* ==========================================================================
   FCPT-2027 Abstract Submission & Forms Styling
   ========================================================================== */

/* Premium Form Card */
.premium-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

/* Custom Form Labels */
.form-label-custom {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: block;
    text-align: left;
}

/* Custom Input Group (Icon + Input) */
.input-group-custom {
    display: flex;
    align-items: stretch;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group-custom:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Input Icon */
.input-icon {
    width: 46px;
    background: var(--bg-alt);
    border-right: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.input-group-custom:focus-within .input-icon {
    color: var(--primary-color);
    background: var(--primary-light);
    border-right-color: var(--primary-color);
}

/* Text and Select Inputs */
.form-input-custom {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

.form-input-custom::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-select-custom {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

[data-theme="dark"] .form-select-custom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-select-custom option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Template Download Card */
.template-card {
    background: var(--bg-alt);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: var(--primary-color);
}

.btn-download-template {
    display: inline-flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.btn-download-template:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--shadow-glow);
}

/* Info Card (Journal Publishing) */
.info-card-custom {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
}

.journal-cover-img {
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-color);
    max-width: 160px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.journal-cover-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px var(--shadow-glow);
}

/* Page Loader Overlay */
#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

#pageLoader.hidden {
    display: none !important;
}

.loader-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    text-align: center;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Custom error borders for validation */
.form-input-custom.error,
.form-select-custom.error {
    border: 1px solid #EF4444 !important;
    background-color: rgba(239, 68, 68, 0.03) !important;
}


/* Custom error borders for validation */
.form-input-custom.error,
.form-select-custom.error {
    border: 1px solid #EF4444 !important;
    background-color: rgba(239, 68, 68, 0.03) !important;
}

.input-group-custom:has(.error) {
    border-color: #EF4444 !important;
}

/* ==========================================================================
   Extracted and Redesigned Registration Styles
   ========================================================================== */

.nonBold {
    font-weight: normal;
    width: 50%;
    padding: 5px;
    display: inline-block;
    color: var(--primary-color, #0b2c36);
}

.priceBox {
    border: 1px solid var(--border-color, #ebccd1);
    padding: 5px 10px;
    float: right;
    color: var(--secondary-color, #a94442);
    background: var(--card-bg, #fff);
    border-radius: 4px;
}

.reg_custom_box::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: #0b2c36;
    transform: skew(20deg);
    z-index: 1;
}

.reg_custom_box .panel {
    position: relative;
    z-index: 2;
}

.reg_custom_box .panel .panel-heading {
    background: rgb(255, 255, 255);
    color: #0b2c36 !important;
}

.reg_custom_box .panel .panel-heading h4 {
    line-height: 2;
}

.reg_custom_box .panel .panel-body {
    padding-right: 5rem;
}

.about-end {
    position: relative;
    margin-left: -70px;
    z-index: 2;
    background-color: #000000 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.deadline_animate {
    animation: fadeIn 1s infinite;
}

hr.style-one {
    border: 0;
    border-bottom: 1px dashed var(--border-color, #333);
    background: transparent;
    width: 90%;
    margin: 15px auto;
    padding: 0;
}

.hidden {
    display: none !important;
}

/* Premium Form Card Layout */
.form-horizontal .form-group {
    margin-bottom: 1.5rem;
}

/* Custom Pricing and Accommodation Cards */
.pricing-card-custom {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color, rgba(0,0,0,0.05));
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
}

.pricing-card-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--shadow-glow, rgba(0,0,0,0.1));
    border-color: var(--primary-color);
}

.pricing-card-header {
    background: linear-gradient(135deg, var(--primary-color, #0d9488), var(--secondary-color, #f59e0b));
    color: #fff !important;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.pricing-card-header h4 {
    color: #fff !important;
    font-weight: 700;
    margin: 0;
}

.pricing-card-header small {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card-body {
    padding: 1.5rem;
}

.pricing-radio-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e2e8f0);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-alt, #f8fafc);
    width: 100%;
}

.pricing-radio-label:hover {
    border-color: var(--primary-color);
    background: var(--primary-light, #f0fdfa);
}

.pricing-radio-label input[type="radio"] {
    margin-right: 10px;
}

.pricing-radio-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-radio-price {
    font-weight: 700;
    color: var(--primary-color);
    padding: 4px 8px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
}

/* Card Checkbox overlay */
.card-checkbox-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.card-checkbox-wrapper input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Summary Box Styling */
.summary-container {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px var(--shadow-color, rgba(0,0,0,0.05));
    margin-bottom: 2.5rem;
}

.table-summary th, 
.table-summary td {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

/* Terms and Policies Styling */
.policy-box-gray {
    background: #f8fafc;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.policy-box-white {
    background: #ffffff;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.policy-title {
    color: var(--primary-color, #0b2c36);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

