
* {
    box-sizing: border-box;
}

.container {
    max-width: 540px;
    margin: auto;
    width: calc(100% - 20px);
    padding: 30px 30px;
    background: white;
    margin: 60px auto;
    box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 8%);
}

h1 {
    font-size: 20px;
    color: #404040;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h1 img {
    width: 210px;
    vertical-align: middle;
    /* margin-left: 20px; */
}

body {
    font-family: Assistant;
    color: #3c3c3c;
    background: whitesmoke;
}
h1 span {
    /* display: block; */
    font-size: 16px;
    /* text-align: left; */
    /* display: inline-block; */
    /* margin-right: auto; */
    margin-top: 7px;
    /* margin-right: 80px; */
    flex: 0 0 calc(100% - 50px);
}
.title a {
    text-align: center;
    display: table;
    margin: auto;
	margin-inline-end:0;
    color: #368336;
    font-weight: 600;
}
.input-field {
    display: flex;
    padding: 10px 0px;
    align-items: center;
    font-size: 20px;
    flex-wrap: wrap;
}

.input-field label {
    flex: 0 0 110px;
    font-weight: 600;
    color: #080808;
    font-size: 16px;
}
.input-error {
    flex: 0 0 100%;
    text-align: center;
    color: red;
    font-size: 15px;
    padding: 10px;
    font-weight: 800;
}
.input-field input {
    line-height: 30px;
    height: 32px;
    padding: 0px 20px;
    border: 1px solid #bdbdbd;
    box-shadow: 0px 0px 5px -2px rgb(0 0 0 / 30%);
    flex: 1;
    font-size: 22px;
    max-width: 100%;
    width: 100%;
    text-align: right;
    direction: ltr;
    letter-spacing: 2px;
}
.input-field input:focus {
    outline: 2px solid #368336;
    border-color: transparent;
}
button.reset {
    background: none;
    line-height: 40px;
    padding: 0px 10px;
    color: red;
    text-decoration: underline;
    border: 0px;
    outline: none;
}
.buttons {
    margin: 20px 0px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
button.submit {
    height: 32px;
    line-height: 24px;
    padding: 0px 20px;
    background: #ed312f;
    color: white;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Assistant';
    border: 0px;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    margin-right: auto;
}
hr {
    border-bottom: 1px ridge #DDD;
    height: 1px;
    margin: 30px 0px;
    border-top: 0px;
}

.bottom {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.bottom a {
    color: black;
    text-decoration: none;
    text-decoration: underline;
}
button.button.green.small {
    color: green;
}

table#af_posts_table button.button.small + button, table#af_posts_table button.button.small {
    display: inline-block;
}

tr.post-tr[data-status="1"] td {
    color: green;
}

tr.post-tr[data-status="1"] td button.green {
    display: none !important;
}
.lity-active,
.lity-active body {
    overflow: hidden;
}

.lity-active,
.lity-backdrop {
    z-index: 999999;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    max-height: 80%;
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 15px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.multiple-files-modal h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #404040;
    font-size: 18px;
}

.files-list {
    max-height: 400px;
    overflow-y: auto;
}
.files-list {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
    align-items: start;
    justify-content: start;
}

.file-option {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    flex: 0 0 260px;
}

.file-details {
    margin-bottom: 10px;
    line-height: 1.5;
}

.select-file-btn {
    background-color: #368336;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.select-file-btn:hover {
    background-color: #2a662a;
}

/* Form Sections */
.form-section {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.form-section h3 {
	margin: 0 0 10px 0;
	color: #404040;
	font-size: 18px;
	font-weight: 600;
}

.form-guide {
	margin: 0 0 20px 0;
	color: #6c757d;
	font-size: 14px;
	line-height: 1.4;
}

/* Validation Indicators */
.input-field input.valid {
	border-color: #28a745;
	box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
}

.input-field input.invalid {
	border-color: #dc3545;
	box-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

/* Disabled Button */
button.submit.disabled {
	background-color: #6c757d;
	cursor: not-allowed;
	opacity: 0.6;
}

button.submit.disabled:hover {
	background-color: #6c757d;
}

/* Placeholder styling */
.input-field input::placeholder {
	color: #adb5bd;
	font-style: italic;
}

/* Notification System */
.notification {
	position: fixed;
	bottom: 20px;
	margin: auto;
	right: 20px;
	left: 20px;
	z-index: 10000;
	max-width: 400px;
	min-width: 300px;
	display: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	font-family: Assistant, sans-serif;
}

.notification-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-radius: 6px;
}

.notification-message {
	flex: 1;
	font-size: 14px;
	line-height: 1.4;
}

.notification-close {
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	margin-right: 10px;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.notification-close:hover {
	opacity: 1;
}

/* Notification Types */
.notification-success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.notification-error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.notification-warning {
	background-color: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
}

.notification-info {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

/* Disabled field styles */
.disabled-field {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.disabled-field:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Enhanced validation styles */
.input-field input.valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.input-field input.invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.input-field input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
