/* Registration Page Styles - ABA Group Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f172a;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.col-md-12 {
    width: 100%;
}

/* Card Styling */
.card-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 24px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(59, 130, 246, 0.2);
    padding: 50px 45px;
    margin-top: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-title {
    color: #1e293b;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFB800, #FDB913);
    border-radius: 2px;
}

/* Logo Styling */
.img-fluid {
    max-width: 140px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}

.mb-3 {
    margin-bottom: 20px !important;
}

.mb-4 {
    margin-bottom: 30px !important;
}

.text-center {
    text-align: center;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 1px;
}
.form-group label {
    display: block;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Input Fields */
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f8fafc;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: #cbd5e0;
    background: #ffffff;
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Dropdown Styling */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Checkbox Styling */
.form-check {
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: #ffffff;
    border-color: #cbd5e0;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #3b82f6;
    vertical-align: middle;
}

.form-check-label {
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    vertical-align: middle;
}

/* Button Styling */
.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FFB800 0%, #FDB913 50%, #F59E0B 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(253, 185, 19, 0.4),
        0 2px 8px rgba(253, 185, 19, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(253, 185, 19, 0.5),
        0 4px 12px rgba(253, 185, 19, 0.4);
    background: linear-gradient(135deg, #FDB913 0%, #F59E0B 50%, #D97706 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 
        0 3px 12px rgba(253, 185, 19, 0.4),
        0 1px 6px rgba(253, 185, 19, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Row Styling */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-sm-3,
.col-sm-4,
.col-sm-12 {
    padding: 0 15px;
    margin-bottom: 5px;
}

.col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-sm-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Validation Messages */
span[id*="RequiredFieldValidator"] {
    display: block;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
}

/* Label for Sponsor Name */
#lblSposnorName {
    display: block;
    padding: 10px 14px;
    background: #d1fae5;
    border: 2px solid #6ee7b7;
    border-radius: 10px;
    margin-top: 8px;
    font-weight: 600;
    color: #065f46;
}

/* GridView Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table th {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 14px 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 14px;
}

.table tr:hover {
    background-color: #f8fafc;
}

/* File Upload Styling */
input[type="file"] {
    padding: 12px;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.3s ease;
    color: #1e293b;
    font-size: 14px;
}

input[type="file"]:hover {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-sm-3,
    .col-sm-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .card-box {
        padding: 35px 30px;
    }
}

@media (max-width: 576px) {
    .col-sm-3,
    .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .card-box {
        padding: 30px 20px;
    }
    
    .header-title {
        font-size: 24px;
    }
    
    body {
        padding: 10px;
    }
}

/* Page Title Box */
.page-title-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-title {
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: #64748b;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Chosen Select Styling */
.chosen {
    width: 100% !important;
}

/* Control Label */
.control-label {
    display: block;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Box Content */
.box-content {
    padding: 20px;
}

/* Form Horizontal */
.form-horizontal {
    width: 100%;
}

.form-bordered {
    border: none;
}
