/* Forms & Inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #93c5ff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    background: #1a305a;
    border: 1px solid #2d4268;
    border-radius: 4px;
    color: #e2e8f0;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-control {
    width: 96%;
    padding: 12px 0px;
    padding-left: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(100, 150, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(10, 20, 40, 0.6); /* Темно-синий фон */
    color: #e2e8f0;
    font-size: 16px;
    height: 45px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3b6ef6;
    box-shadow: 0 0 0 2px rgba(59, 110, 246, 0.2);
    outline: none;
}

.form-label {
    color: #a3b8da;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* Login Form */
.login-form-section {
    padding: 40px;
    animation: slideIn 0.6s ease-out;
}

.social-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideIn 0.6s ease-out 0.2s backwards;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    height: 48px;
    background: linear-gradient(
            135deg,
            #3168ce 0%,
            #1a4282 100%
    ); /* Синий градиент */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 0;
}

.btn-secondary {
    margin: 8px 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 104, 206, 0.3);
}

.social-button {
    width: 100%;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.btn-google {
    background: linear-gradient(135deg, #db4437 0%, #c53030 100%);
}

.btn-facebook {
    background: linear-gradient(
            135deg,
            #3b5998 0%,
            #2f477a 100%
    ); /* Более синий Facebook */
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-button i {
    margin-right: 12px;
    font-size: 18px;
}

.forgot-password {
    font-size: 14px;
    color: #a3b8da;
    text-decoration: none;
    display: block;
    text-align: right;
    margin: -10px 0 20px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #3b6ef6;
}

.text-center h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #e2e8f0;
}

.register-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 150, 255, 0.1);
    text-align: center;
}

.register-section a {
    color: #3b6ef6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-section a:hover {
    color: #6b9fff;
    text-decoration: underline;
}

.text-secondary {
    color: #a3b8da;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(10, 20, 40, 0.3);
    border-top: 1px solid rgba(100, 150, 255, 0.05);
}

.wybierz-plik-btn {
    background: rgba(59, 73, 196, 0.8);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wybierz-plik-btn:hover {
    background: rgba(59, 73, 196, 1);
}

.logout-section {
    padding: 15px 20px;
    background-color: #1a365d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-button {
    display: block;
    padding: 10px;
    text-align: center;
    min-width: fit-content;
    background-color: rgba(229, 62, 62, 0.2);
    color: #fc8181;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dashboard-button {
    display: block;
    padding: 10px;
    text-align: center;
    min-width: fit-content;
    border-radius: 6px;
    background-color: var(--blue-accent);
    text-decoration: none;
    transition: background-color 0.2s;
}

.dashboard-button:hover {
    background-color: var(--blue-accent-hover);
}

.logout-button:hover {
    background-color: rgba(229, 62, 62, 0.3);
}