/* Post A Deal Page Styles */
/* Reset default styling for cleaner layout */
* {
    box-sizing: border-box;
}



.mainContainer {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.leftCol {
    flex: 0 0 250px;
}

.leftMenuHeader {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.leftMenuPanel {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    color: #555;
    text-align: center;
    font-weight: 500;
}

.rightCol {
    flex: 1;
}

.rightColWhiteBGStay {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.deal-hero {
    text-align: center;
    margin-bottom: 50px;
}

.deal-hero h1 {
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.deal-hero .subtitle {
    font-size: 1.3em;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Form Container */
.deal-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.deal-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.deal-form-container h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.deal-description {
    text-align: center;
    color: #555;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Features List */
.features-list {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1em;
    color: #2c3e50;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li .icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 12px;
    font-weight: bold;
}

.features-list strong {
    color: #667eea;
    font-weight: 600;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
    background: #fff;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Response Message */
#responseMessage {
    margin-bottom: 20px;
    text-align: center;
}

#responseMessage p {
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    margin: 0;
}

#responseMessage p[style*="color:black"] {
    background: #d4edda;
    color: #155724 !important;
    border: 1px solid #c3e6cb;
}

#responseMessage p[style*="color:red"] {
    background: #f8d7da;
    color: #721c24 !important;
    border: 1px solid #f5c6cb;
}

/* Back to Top Button */
.backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2em;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mainContainer {
        flex-direction: column;
        padding: 15px;
    }
    
    .leftCol {
        flex: none;
        order: 2;
        margin-top: 30px;
    }
    
    .rightCol {
        order: 1;
    }
    
    .rightColWhiteBGStay {
        padding: 30px 20px;
    }
    
    .deal-hero h1 {
        font-size: 2.2em;
    }
    
    .deal-form-container {
        padding: 30px 20px;
    }
}

/* Animation for form appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.deal-form-container {
    animation: fadeInUp 0.6s ease-out;
}
