/* Stiluri generale */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    box-sizing: border-box;
    overflow-x: hidden; /* Dezactivăm scroll-ul orizontal */
}

/* Header albastru extins */
.header {
    background-color: #2d98da;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.header .app-name {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

/* Meniu și iconițe */
.navbar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-container {
    position: relative;
    cursor: pointer;
}

.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    padding: 10px;
}

.menu a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
}

.menu a:hover {
    background-color: #f0f0f0;
}

/* Container general */
.container {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 10px;
    box-sizing: border-box;
}

/* Stiluri pentru tabele */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table th, table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    white-space: normal; /* Permite cuvintelor să se împartă */
    word-wrap: break-word; /* Forțează cuvintele lungi să se împartă pe mai multe linii */
}

table th {
    background-color: #2d98da;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}

table td {
    background-color: #fafafa;
    color: #333;
    font-size: 14px;
}

/* Butoane personalizate */
button {
    padding: 10px 20px;
    background-color: #2d98da;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

button:hover {
    background-color: #1e78b6;
    transform: scale(1.05);
}

.discord-btn {
    background-color: #7289da;
}

.smtp-btn {
    background-color: #ff6f61;
}

.discord-btn:hover, .smtp-btn:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Carduri */
.card {
    padding: 20px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Stiluri pentru grafice */
.chart-container {
    width: 100%;
    height: auto;
    margin: 20px 0;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Responsive pentru dispozitive mari */
@media (min-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .header .app-name {
        font-size: 24px;
    }

    .card {
        padding: 30px;
        max-width: 100%;
    }

    table th, table td {
        font-size: 16px;
    }

    .chart-container {
        height: 400px;
    }
}

/* Responsive pentru dispozitive mici */
@media (max-width: 768px) {
    .header {
        padding: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header .app-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    table th, table td {
        font-size: 12px;
        padding: 8px;
    }

    .chart-container {
        height: 300px;
    }

    .card {
        padding: 15px;
    }
}

/* Responsive pentru rezoluții foarte mici (mobile) */
@media (max-width: 480px) {
    .header .app-name {
        font-size: 16px;
    }

    .navbar {
        gap: 10px;
    }

    .icon-container i {
        font-size: 20px;
    }

    .chart-container {
        height: 250px;
    }

    th, td {
        font-size: 10px;
        padding: 6px;
    }

    .card {
        padding: 10px;
    }
}

/* Responsive pentru landscape */
@media (orientation: landscape) {
    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }

    .chart-container {
        width: 100%;
        height: auto;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    .card {
        max-width: 100%;
        margin: 10px 0;
    }
}

/* Footer stilizat */
.footer {
    background-color: #2d98da;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* Container pentru carduri */
.card-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* Carduri */
.pricing-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.pricing-card h2 {
    color: #3498db;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card .price-tag {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 15px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        margin-bottom: 20px;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .pricing-card {
        max-width: 45%; /* Ajustăm lățimea cardurilor pentru ecrane mari */
    }
}








/* eu */

/* Container for the registration form */
.container2 {
    width: 100%;
    max-width: 100%; /* Max width for the card */
    margin: 50px auto; /* Center card */
    padding: 20px;
    background-color: #ffffff; /* White background for card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    box-sizing: border-box;
}

/* Card Header */
.card2 h2 {
    text-align: center;
    color: #2d98da;
    font-size: 28px; /* Increased title size */
    font-weight: 700; /* Bold for emphasis */
    margin-bottom: 20px;
}

/* Subheading Styles */
.card2 h3 {
    font-size: 22px; /* Slightly larger subheadings */
    color: #555;
    margin-top: 20px;
}

/* Info Box Styles */
.info-box {
    background-color: #f0f8ff;
    border-left: 5px solid #2d98da;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 15px;
}

/* Label Styles */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600; /* Semi-bold for labels */
    color: #2d98da; /* Blue color */
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; /* Slightly larger text */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus Effects for Input Fields */
input:focus,
select:focus {
    border-color: #2d98da; /* Focus border color */
    box-shadow: 0 0 5px rgba(45, 152, 218, 0.5); /* Subtle shadow */
}

/* Button Styles */
button {
    width: 100%;
    padding: 12px;
    background-color: #2d98da;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger button text */
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

/* Button Hover Effects */
button:hover {
    background-color: #1e78b6;
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Test Result Styles */
.discord-test-result,
.smtp-test-result {
    margin-top: 20px;
    padding: 12px;
    background-color: #e6f7ff;
    border-left: 5px solid #2d98da;
    border-radius: 4px;
    font-size: 14px;
}



/* eu2 */

/* Transition Effects */
* {
    transition: all 0.3s ease; /* Smooth transition for all elements */
}

/* Global Link Styles */
a {
    color: #2d98da; /* Link color */
    text-decoration: none; /* No underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000; /* Above other elements */
    display: none; /* Hidden by default */
}

/* Responsive Adjustments for Notifications */
@media (max-width: 768px) {
    .notification {
        width: 90%; /* Full width on smaller screens */
        right: 5%; /* Adjust position */
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001; /* Above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Responsive width */
    border-radius: 8px; /* Rounded corners */
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none; /* Utility class to hide elements */
}



/* eu3 */

/* Stiluri pentru iconițe */
.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px; /* Spațiere între iconițe */
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1); /* Efect de mărire la hover */
}

/* Stiluri pentru iconițe */
.icon-container i {
    font-size: 24px; /* Dimensiunea iconiței */
    color: white; /* Culoarea iconiței */
    transition: color 0.3s ease;
}

/* Schimbă culoarea iconiței la hover */
.icon-container:hover i {
    color: #ffdd57; /* Culoare diferită la hover */
}

/* Meniuri pentru iconițe */
.menu {
    display: none; /* Ascunde meniul inițial */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white; /* Fundal alb pentru meniu */
    color: #333; /* Culoare text */
    border-radius: 5px; /* Colțuri rotunjite */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 5px; /* Spațiu între iconiță și meniu */
    padding: 10px 0; /* Spațiu intern */
}

/* Stiluri pentru linkurile din meniu */
.menu a {
    display: block; /* Face linkurile să fie blocuri */
    padding: 8px 15px; /* Spațiu intern */
    text-decoration: none; /* Elimină sublinierea */
    color: #333; /* Culoarea textului */
    transition: background-color 0.3s ease;
}

/* Efect de hover pentru linkuri */
.menu a:hover {
    background-color: #f0f0f0; /* Fundal deschis la hover */
}

/* Arată meniul atunci când este activ */
.icon-container .menu.show {
    display: block; /* Afișează meniul */
}

/* Style for the pop-up modal */
.popup-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
    z-index: 1000; /* Ensure it appears on top */
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    margin: 10% auto; /* Centered */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.popup-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.popup-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2d98da;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.popup-btn:hover {
    background-color: #1e78b6;
}

@media (max-width: 768px) {
    .popup-content {
        width: 90%;
        padding: 15px;
    }

    .popup-content h2 {
        font-size: 20px;
    }

    .popup-content p {
        font-size: 14px;
    }
}

/* Container pentru formularul de login */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
}

/* Form container */
.form-container {
    display: flex;
    flex-direction: column;
}

/* Stil pentru mesajele de eroare */
.error-box {
    background-color: #ffdddd;
    border-left: 5px solid #f44336;
    padding: 10px;
    border-radius: 4px;
}

/* Centrare text */
.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #2d98da;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 200px; /* Asigură lățime fixă pentru ambele butoane */
    height: 45px; /* Înălțime fixă */
    box-sizing: border-box; /* Previne diferențele de dimensiuni */
    border: none; /* Elimină liniile sub text */
}

.btn:hover {
    background-color: #1e78b6;
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.98);
}

.button-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Spațiu uniform între butoane */
    width: 100%; /* Lățime completă pentru grup */
    margin-top: 20px; /* Adaugă spațiu deasupra */
}
