﻿/* Create Room Page Specific Styles */

.create-room-container {
    /* Additional specific styling for create room if needed */
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gothic-light-gray);
}

/* Form Groups */
.form-group {
    position: relative;
}

/* Help text */
.form-text {
    color: var(--gothic-silver);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.text-muted {
    color: var(--gothic-silver) !important;
}

/* Character counter styling */
#charCount {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Form Guidelines */
.form-guidelines {
    background: var(--gothic-dark-gray);
    border: 1px solid var(--gothic-light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.guidelines-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gothic-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .guidelines-title i {
        color: var(--gothic-red);
        font-size: 1rem;
    }

.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .guidelines-list li {
        color: var(--gothic-silver);
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;
    }

        .guidelines-list li::before {
            content: '•';
            color: var(--gothic-red);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }

/* Form field enhancements */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Number input specific styling */
input[type="number"].gothic-form-control {
    text-align: left;
}

/* Textarea specific styling */
textarea.gothic-form-control {
    line-height: 1.6;
}

/* Loading state for submit button */
.gothic-btn:disabled .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Focus states for better accessibility */
.gothic-form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--gothic-red), 0.25);
}

/* Error state enhancements */
.gothic-form-control.is-invalid {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Create Room specific responsive design */
@media (max-width: 768px) {
    .form-guidelines {
        padding: 1rem;
    }

    .guidelines-title {
        font-size: 1.1rem;
    }

    .guidelines-list li {
        font-size: 0.85rem;
    }

    .form-actions .row > div {
        margin-bottom: 0.75rem;
    }

        .form-actions .row > div:last-child {
            margin-bottom: 0;
        }
}

@media (max-width: 576px) {
    .form-actions {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .form-guidelines {
        margin-top: 1.5rem;
    }

    .page-header {
        margin-bottom: 2rem;
    }
}




.form-check {
    padding: 15px;
    margin-bottom: 7px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.form-check .form-check-input {
    margin-left: 0px;
}

.form-check-input:checked {
    background: linear-gradient(135deg, var(--gothic-red), var(--gothic-white));
    border-color: var(--gothic-red);
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

input[readonly] {
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .form-actions .row {
        gap: 10px;
    }

    .form-actions .col-md-6,
    .form-actions .col-lg-4 {
        margin-bottom: 10px;
    }
}



