/**
 * Messages CSS Module
 * 
 * Success, error, info, and warning message styling for the Zoho Profile Creation Plugin.
 * This module handles all feedback and notification styling.
 */

/* Disclaimer container */
.oeg-disclaimer-container {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.oeg-disclaimer-container h5 {
    color: #dc3545;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.oeg-disclaimer-container p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #4b4f58;
}

.oeg-disclaimer-container ul {
    list-style-type: decimal;
    padding-left: 10px;
    margin-left: 10px;
    margin-top: 10px;
}

.oeg-disclaimer-container li {
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #4b4f58;
}

/* Profile creation feedback area */
.oeg-profile-creation-feedback-area {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    min-height: 0;
    transition: all 0.3s ease;
}

.oeg-profile-creation-feedback-area h5 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.oeg-profile-creation-feedback-area p {
    margin-bottom: 10px;
}

/* Submission feedback area styling */
.oeg-submission-feedback-area {
    margin-top: 20px;
    min-height: 0;
    transition: all 0.3s ease;
}

.oeg-submission-feedback-area:empty {
    margin-top: 0;
    min-height: 0;
}

/* Message container styling for feedback area */
.oeg-message-container {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.oeg-message-container h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.oeg-message-container p {
    margin: 0;
    line-height: 1.4;
}

/* Success message styling */
.oeg-success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error message styling */
.oeg-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Basic error message for loading indicators */
.oeg-loading-text {
    color: #666;
    font-style: italic;
}

/* Basic error message styling */
.oeg-error-message {
    color: red;
}

/* Warning message styling */
.oeg-warning-message {
    color: orange;
}

/* Info message styling */
.oeg-info-message {
    color: #0c5460;
}

/* Resume upload area messages */
.oeg-resume-upload-area {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.oeg-resume-upload-area h5 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.oeg-resume-upload-area p {
    margin-bottom: 10px;
}

/* Dynamic content area messages */
.oeg-dynamic-content-area {
    margin-top: 20px;
    min-height: 0;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f8f9fa;
    padding: 15px;
}

.oeg-dynamic-content-area:empty {
    margin-top: 0;
    min-height: 0;
}