/* Main Container */
.form-container1 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.form-header1 {
    text-align: center;
    margin-bottom: 30px;
}

/*FLAG{P2_S2_ncfrwkjhgtydskj}*/

.form-title1 {
    font-size: 2em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-subtitle1 {
    color: #718096;
    font-size: 1em;
}

/* Input Section */
.input-section1 {
    margin-bottom: 30px;
}

.input-group1 {
    margin-bottom: 20px;
}

.input-label1 {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.input-field1 {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #ffffff;
}

.input-field1:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.search-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.search-btn1:active {
    transform: translateY(0);
}

/* Data Display Section */
.data-section1 {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.data-section.show1 {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.data-title1 {
    font-size: 1.2em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.data-row1 {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.data-row1:last-child {
    border-bottom: none;
}

.data-label1 {
    font-weight: 600;
    color: #4a5568;
    flex: 1;
}

.data-value1 {
    color: #2d3748;
    flex: 2;
    text-align: right;
    font-weight: 500;
}

/* Submit Section */
.submit-section1 {
    text-align: center;
    display: none;
}

.submit-section.show1 {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-btn1 {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.submit-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.3);
}

.submit-btn1:active {
    transform: translateY(0);
}

/* Loading Animation */
.loading1 {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert1 {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

.alert.error1 {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.alert.success1 {
    background: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.alert.show1 {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container1 {
        padding: 25px 20px;
        margin: 10px;
    }
    
    .form-title1 {
        font-size: 1.6em;
    }
    
    .data-row1 {
        flex-direction: column;
        gap: 5px;
    }
    
    .data-value1 {
        text-align: left;
        font-weight: 600;
        color: #667eea;
    }
}