body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    direction: rtl;
}

#login-container, #app-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

h1, h2 {
    margin-bottom: 20px;
    color: #4CAF50;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.input-container {
    display: flex;
    align-items: center;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
    resize: none;
    direction: rtl;
}

.form-group .paste-btn, .form-group .toggle-btn {
    margin-right: 10px;
    background-color: #ccc;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

button.styled-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.3s, box-shadow 0.3s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

button.styled-btn:hover {
    background-color: #45a049;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.error {
    color: red;
    margin-top: 10px;
}

#response-msg {
    margin-top: 20px;
    font-weight: bold;
}

/* Style for preview buttons */
#preview-container {
    margin-top: 20px;
    text-align: center;
}

#preview-container p {
    margin: 5px 0;
}

#preview-container .preview-btn {
    background-color: #009688;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#preview-container .preview-btn:hover {
    background-color: #00796b;
}
