/* ==========================================================================
   Custom Styles for Nachsendung Website
   ========================================================================== */

/* Header Styles */
.header-top {
    background-color: #ffcc00;
    width: 100%;
    margin-bottom: 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-logo {
    flex: 0 0 auto;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-nav {
    text-align: right;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.header-login {
    text-align: right;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    margin: 0 8px;
}

.header-nav .red-dot {
    color: #dc3545;
    margin: 0 8px;
}

.login-btn {
    background-color: #e9bd0f;
    color: #333;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #e9bd0f;
    display: inline-block;
}

.headerlogo {
    height: 35px;
    width: auto;
    display: block;
}

/* Main Content Styles */
.briefkasten {
    width: 100%;
    padding: 10px;
    align-content: center;
    max-width: 100%;
    height: auto;
}

.font-titel {
    font-size: 25px;
    font-weight: bold;
}

.subtitle-text {
    font-size: 14px;
    color: #666;
}

.sofort-badge {
    background-color: #ffeb99;
    padding: 2px 5px;
    border-radius: 3px;
}

.btn-lg {
    background-color: #ffcc00;
    color: #d81111;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
}

.grund-trenner {
    display: block;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(to left, #fff9e6 0%, #ffcc00 100%);
    padding: 20px;
    width: 100%;
    text-align: left;
}

.warning-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.warning-box .red-dot {
    color: #dc3545;
    font-size: 16px;
    margin-right: 8px;
    vertical-align: baseline;
    position: relative;
    top: 4px;
}

/* Footer Inside Box */
.footer-inside {
    padding: 20px;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 12px;
}

.footer-inside a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
}

.footer-inside a:hover {
    text-decoration: underline;
}

/* Footer Outside Box */
.footer {
    padding-top: 1px;
    padding-bottom: 20px;
}

.footer p {
    margin: 0;
    font-size: 11px;
    color: #999;
}

/* Form Elements */
.select-label {
    font-weight: bold;
}

.form-control {
    max-width: 100%;
}

/* Radio Buttons */
.radio label {
    font-weight: normal;
}

/* Responsive Padding */
.content-padding {
    padding: 0 20px;
}

.button-container {
    text-align: right;
    padding: 0 10px 0 0;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Mobile Small (320px - 479px) */
@media only screen and (max-width: 479px) {
    .header-container {
        padding: 10px 0;
    }
    
    .headerlogo {
        height: 15px;
    }
    
    .header-nav {
        font-size: 10px;
    }
    
    .header-nav a {
        margin: 0 3px;
    }
    
    .login-btn {
        padding: 4px 12px;
        font-size: 10px;
    }
    
    .font-titel {
        font-size: 20px;
    }
    
    .subtitle-text {
        font-size: 12px;
    }
    
    .btn-lg {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .briefkasten {
        width: 60%;
        margin: 0 auto;
        display: block;
    }
    
    .warning-box {
        padding: 15px;
    }
    
    .warning-box p {
        font-size: 12px;
    }
    
    .warning-box .red-dot {
        font-size: 16px;
    }
    
    .footer-inside {
        padding: 15px 10px;
        font-size: 11px;
    }
    
    .footer-inside a {
        display: inline-block;
        margin: 5px 4px;
    }
    
    .content-padding {
        padding: 0 10px;
    }
}

/* Mobile Medium (480px - 767px) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .font-titel {
        font-size: 24px;
    }
    
    .briefkasten {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    
    .header-nav {
        font-size: 12px;
    }
    
    .btn-lg {
        font-size: 18px;
    }
    
    .warning-box p {
        font-size: 13px;
    }
}

/* Tablet (768px - 991px) */
@media only screen and (min-width: 768px) {
    .headerlogo {
        height: 38px;
    }
    
    .briefkasten {
        width: 100%;
    }
    
    .font-titel {
        font-size: 32px;
    }
    
    .btn-lg {
        font-size: 20px;
        padding: 10px 40px;
        width: auto;
    }
    
    .grund-trenner {
        display: none;
    }
    
    .button-container {
        text-align: right;
    }
    
    .warning-box p {
        /* margin-left: 10%;
        margin-right: 10%; */
        text-align: center;
    }
    
    .warning-box .red-dot {
        font-size: 24px;
    }
}

/* Desktop Small (992px - 1199px) */
@media only screen and (min-width: 992px) {
    .headerlogo {
        height: 42px;
    }
    
    .font-titel {
        font-size: 40px;
    }
    
    .btn-lg {
        font-size: 22px;
        padding: 10px 50px;
    }
    
    .warning-box p {
        /* margin-left: 15%;
        margin-right: 15%; */
    }
    
    .warning-box .red-dot {
        font-size: 28px;
    }
}

/* Desktop Large (1200px+) */
@media only screen and (min-width: 1200px) {
    .font-titel {
        font-size: 45px;
    }
    
    .headerlogo {
        height: 45px;
    }
}

/* Print Styles */
@media print {
    .header-nav,
    .login-btn,
    .btn-lg {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Hover Effects */
.header-nav a:hover,
.footer-inside a:hover {
    opacity: 0.8;
}

.login-btn:hover {
    background-color: #d4a600 !important;
    border-color: #d4a600 !important;
}

.btn-lg:hover {
    background-color: #ffdd33;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Additional mobile optimizations */
@media only screen and (max-width: 767px) {
    .box-main {
        padding: 15px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
