﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    color: black;
}

/* Form Container Styling */
.form-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .form-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    /* Form Header */
    .form-card h3 {
        text-align: center;
        font-size: 30px;
        color: #2c3e50;
        margin-bottom: 20px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Label Styling */
.form-group label {
    font-size: 16px;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Input Fields Styling */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    color: #34495e;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #fafafa;
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #3498db;
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.7);
        outline: none;
    }

/* Textarea Styling */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button Styling */
.form-button {
    background-color: #3498db;
    color: white;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .form-button:hover {
        background-color: #2980b9;
        transform: scale(1.05);
    }

    .form-button:active {
        background-color: #1d669d;
    }

/* Input Focus Animation */
.form-group input:focus {
    animation: inputFocus 0.5s ease;
}

@keyframes inputFocus {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.03);
    }
}

/* Subtle Shadow Effect */
.form-group input,
.form-group select,
.form-group textarea {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-card {
        padding: 30px;
    }

        .form-card h3 {
            font-size: 26px;
        }

    .form-button {
        font-size: 16px;
    }
}

.back-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-back {
    font-size: 1.2rem;
    background-color: #6c757d;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-back:hover {
        background-color: #5a6268;
        transform: scale(1.05);
    }

.btn-sm {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

    .btn-sm i {
        margin-right: 5px;
    }
