@import url('/assets/css/color-utils.css');
@import url('/assets/css/spacing-utils.css');
@import url('/assets/css/typography-utils.css');
@import url('/assets/css/page-shells.css');

/* Modern circular avatar display */
.avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}

.avatar-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: 3px solid #2a2a2a;
    background: #222;
}
/* style.css - placeholder for global styles */
/* This file is intended for global styles that apply to the entire CMS. */

/* Global Typography Styles */


body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	color: #eee;
}

/* Global Link Styles */
a {
	color: #33aaff;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #ffffff;
}

p {
    margin-bottom: 1em;
    color: #ffffff;
}

/* Reusable message classes */
.message {
    padding: 8px 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    text-align: center;
    font-size: 1em;
    font-weight: 500;
    display: block;
    width: 100%;
}
.message-error {
    color: #ff4d4f;
    background: #2a2a2a;
    border: 3px solid #ff4d4f;
}
.message-warning {
    color: #fbc02d;
    background: #2a2a2a;
    border: 3px solid #fbc02d;
}
.message-success {
    color: #4caf50;
    background: #232a23;
    border: 1px solid #4caf50;
    border-bottom: 2px solid #4caf50 !important;
}
.message-info {
    color: #33aaff;
    background: #222a2f;
    border: 3px solid #33aaff;
}
/* Style for validation messages */
.validation-message {
    white-space: normal;
    word-break: normal;
    writing-mode: horizontal-tb;
    max-width: 100%;
}
/* Style for validation messages */
.validation-message {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    font-size: 0.95em;
    min-height: 1.2em;
    color: #388e3c; /* Default to success, override in JS for error/warning */
    transition: color 0.2s;
    word-break: break-word;
    width: 100%;
}

/* Success message */
.validation-message[style*="green"] {
    color: #388e3c !important;
}

/* Warning message */
.validation-message[style*="orange"] {
    color: #fbc02d !important;
}