:root {
    --primary-color: #6c63ff;
    --secondary-color: #ff6584;
    --accent-color: #43f4ff;
    --background-dark: #0f0f1a;
    --background-card: #1a1a2e;
    --background-light: #ffffff;
    --text-dark: #213547;
    --text-light: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #43f4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6584 0%, #ff9b4e 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    min-height: 100vh;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-actions button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-actions button:hover {
    transform: scale(1.1);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    background: var(--background-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    animation: fadeIn 0.5s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-light);
    opacity: 0.8;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

input:focus ~ .focus-border,
textarea:focus ~ .focus-border,
select:focus ~ .focus-border {
    width: 100%;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.dl-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

select option{
    background-color: #0b3c6c;
    color: var(--text-light);
}

#description{
    font-family: Arial, Helvetica, sans-serif;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-container input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

.file-upload {
    position: relative;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.file-upload-text {
    color: var(--text-light);
    opacity: 0.7;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.create {
    background: var(--gradient-primary);
    color: white;
}

.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.create:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.hidden {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-content {
    background-color: var(--background-card);
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--card-shadow);
    color: var(--text-light);
    animation: slideUp 0.4s ease-out forwards;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-light);
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px 20px;
    text-align: center;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-body p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
input, textarea, select, button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    transform: scale(1.01);
}

.form-group {
    animation: slideUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for form groups */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }
.form-group:nth-child(8) { animation-delay: 0.8s; }