body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Arial, sans-serif;

}

.main-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 30px;
}

/* Barre supérieure : Options aux extrémités */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-nav {
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 550;
    text-decoration: none;
    transition: 0.3s;
}

.btn-campagne {
    background-color: darkseagreen;
    border: 1px solid darkred;
    color: navy;
    width: 200px;
}
.btn-journal {
    background-color: darkorange;
    border: 1px solid darkred;
    color: navy;
    width: 200px;
}

.btn-abonnes {
    background-color: #3498db;
    border: 1px solid mediumseagreen;;
    color: white;
    width: 200px;
}

.btn-quitter {
    background-color: darkred;
    border: 1px solid mediumseagreen;
    color: white;
    width: 200px;
}

/* Zone centrale de message */
.center-zone {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.message-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
}

.textarea-msg {
    width: 100%;
    height: 200px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    resize: none;
    margin-bottom: 5px;
}

.textarea-msg2 {
    width: 100%;
    height: 130px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    resize: none;
}

.char-counter {
    text-align: right;
    color: #6c757d;
    font-size: 0.9rem;
    /*margin-bottom: 25px;*/
}

.btn-envoyer {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

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

.campaign_target {
    margin-left: 1em;
}

label.required:after {
    color: darkred;
    content: "*";
}

label {
    position: relative;
    font-weight: bold;
}

.espace {
    margin-bottom: 15px;
}

label input {
    font-size: 1em;
    color: #f9f9f9;
    background: transparent;
    padding: 1rem 1.2rem;
    width: 350px;
    border-radius: 5px;
    border: 2px solid #7a7a7a;
    transition: all 0.2s;
}
label input:focus {
    border-color: #ff4754;
}
label .password-icon {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    color: #f9f9f9;
    transition: all 0.2s;
}
label .password-icon:hover {
    cursor: pointer;
    color: #ff4754;
}

label .password-icon .feather-eye-off {
    display: none;
}

.py-3 {
    padding-top: .2rem !important;
    padding-bottom: .2rem !important;
}

.py-2 {
    padding-top: .2rem !important; /*.5rem !important; */
    padding-bottom: .2rem !important; /*.5rem !important; */
}

.imgRounded {
    -moz-border-radius:17px;
    -webkit-border-radius:17px;
    border-radius:17px;
}
.imgRounded2 {
    border:2px solid black;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
}

.item-pink i {
    color: #f3268c;
}
.item-red i {
    color: darkred;
}
.item-green i {
    color: darkgreen;
}
.item-blue i {
    color: blue;
}

.icon i {
    font-size: 36px;
    transition: 0.5s;
    position: relative;
}
