/* Style matching temp folder design */

/* Base Page Styling */
body {
    background-color: #b8dcfc;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    padding: 0 20px;
}

/* Form Box Styling */
.form-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
}

/* Logo Styling */
.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 500;
    color: #333;
}

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

.form-group label {
    font-weight: 300;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

/* Append red asterisk to required labels */
label.required::after {
    content: " *";
    color: #dc3545;
}

/* Form Control Styling (matches Bootstrap) */
.form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
    resize: vertical;
}

/* Button Group - Side by Side Layout */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.button-group .btn {
    flex: 1;
}

/* Button Styling */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: #1a4348;
    border-color: #1a4348;
    color: #fff;
}

.btn-primary:hover {
    background-color: #163d3f;
    border-color: #163d3f;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Message Styling */
.message {
    margin-top: 12px;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    min-height: 0;
}

.message:not(:empty) {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    margin-top: 12px;
}

.message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin-top: 12px;
}

/* Analyzing/Loading Styling */
#analyzing {
    text-align: center;
    margin: 20px 0;
}

#analyzing img {
    max-height: 30px;
    display: block;
    margin: 0 auto 10px;
}

#analyzing p {
    font-style: italic;
    font-size: 0.9em;
    color: #666;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .form-box {
        padding: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
}

/* Keep buttons side by side even on mobile */
@media screen and (max-width: 480px) {
    .button-group {
        gap: 10px;
    }
}

