/*
    File #2: styles.css
    Location: /public_html/css/styles.css
    Description: CSS stylesheet for the Nük Support Ticket System
*/

/* Main Styles for Nük Ticket System */
:root {
    --primary-color: #0047AB;
    --secondary-color: #f4f4f4;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #333;
    --border-color: #ddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-container {
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 5px;
    margin-right: 15px;
}

.logo {
    width: 80px;
    height: 80px;
}

.text-logo {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
}

.text-logo span:first-child {
    font-size: 42px;
    font-weight: bold;
}

.text-logo .uk {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 14px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.notice-box {
    background-color: var(--secondary-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.notice-box ul {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.bold {
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.required {
    color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.email-hint {
    color: #666;
    font-size: 11px;
    margin-top: 2px;
    display: block;
    font-style: italic;
}

.submit-error {
    margin-top: 15px;
    text-align: center;
}

.recaptcha-terms {
    font-size: 12px;
    margin-bottom: 15px;
    color: #777;
}

.recaptcha-terms a {
    color: var(--primary-color);
    text-decoration: none;
}

.recaptcha-terms a:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #003c91;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#success-message {
    text-align: center;
    padding: 20px;
}

.ticket-id-box {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

.ticket-id {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--primary-color);
}

.ticket-note {
    font-size: 14px;
    color: #666;
}

.new-ticket-btn {
    margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    button {
        width: 100%;
    }
}
