*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Arial',sans-serif;background:linear-gradient(135deg,#0f2027 0%,#203a43 50%,#2c5364 100%);color:#e0e0e0;min-height:100vh;line-height:1.6;padding:0}
.app-container{max-width:900px;margin:0 auto;padding:2rem}
.app-header{text-align:center;margin-bottom:2.5rem;position:relative}
.app-title{font-size:2.2rem;font-weight:700;color:#4fc3f7;margin-bottom:0.5rem;text-shadow:0 2px 4px rgba(0,0,0,0.3);position:relative;display:inline-block}
.app-title::after{content:"";position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60px;height:3px;background:linear-gradient(to right,#4fc3f7,#2196f3);border-radius:3px}
.app-description{color:#90a4ae;font-size:1rem;max-width:600px;margin:0 auto}
.tool-card{background:rgba(30,50,70,0.7);border:1px solid rgba(100,150,200,0.2);border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,0.2);padding:2rem;margin-bottom:2rem;backdrop-filter:blur(8px);transition:all 0.3s ease}
.tool-card:hover{box-shadow:0 12px 25px rgba(0,150,255,0.2);border-color:rgba(100,200,255,0.3)}
.form-group{margin-bottom:1.5rem}
.form-label{display:block;margin-bottom:0.6rem;font-weight:600;color:#bbdefb;font-size:1rem}
.form-control{width:100%;padding:0.8rem 1rem;background:rgba(20,40,60,0.6);border:1px solid rgba(100,150,200,0.3);border-radius:8px;color:#e0e0e0;font-size:1rem;transition:all 0.3s ease}
.form-control:focus{outline:none;border-color:#4fc3f7;box-shadow:0 0 0 2px rgba(79,195,247,0.2)}
.form-select{appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2390a4ae'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 1rem center;background-size:1rem}
.form-help{display:block;margin-top:0.4rem;font-size:0.85rem;color:#90a4ae}
.checkbox-label{display:flex;align-items:center;cursor:pointer;user-select:none}
.checkbox-input{margin-right:0.6rem;width:1.2rem;height:1.2rem;accent-color:#4fc3f7}
.button-group{display:flex;gap:1rem;margin:2rem 0}
.btn{padding:0.9rem 1.8rem;border-radius:8px;border:none;font-weight:600;font-size:1rem;cursor:pointer;transition:all 0.3s ease;display:inline-flex;align-items:center;justify-content:center;gap:0.6rem}
.btn-primary{background:linear-gradient(to right,#2196f3,#00bcd4);color:white;box-shadow:0 4px 12px rgba(33,150,243,0.3)}
.btn-primary:hover{background:linear-gradient(to right,#00bcd4,#2196f3);transform:translateY(-2px);box-shadow:0 6px 16px rgba(33,150,243,0.4)}
.btn-success{background:linear-gradient(to right,#4caf50,#8bc34a);color:white;box-shadow:0 4px 12px rgba(76,175,80,0.3)}
.btn-success:hover{background:linear-gradient(to right,#8bc34a,#4caf50);transform:translateY(-2px);box-shadow:0 6px 16px rgba(76,175,80,0.4)}
.preview-box{background:rgba(20,40,60,0.6);border-radius:10px;padding:1.5rem;margin:2rem 0;text-align:center}
.preview-title{font-size:1.2rem;color:#bbdefb;margin-bottom:1rem}
#canvas{max-width:100%;height:auto;border-radius:6px;box-shadow:0 4px 10px rgba(0,0,0,0.2)}
.instructions{background:rgba(30,50,70,0.7);border-radius:12px;padding:2rem;margin-top:2rem}
.instructions-title{font-size:1.4rem;color:#4fc3f7;margin-bottom:1.2rem;position:relative;padding-left:1.2rem}
.instructions-title::before{content:"";position:absolute;left:0;top:0;height:100%;width:4px;background:linear-gradient(to bottom,#4fc3f7,#2196f3);border-radius:2px}
.steps-list{list-style-type:none}
.step-item{position:relative;padding-left:2rem;margin-bottom:1rem}
.step-item::before{content:counter(step);counter-increment:step;position:absolute;left:0;top:0;background:linear-gradient(135deg,#2196f3,#00bcd4);color:white;width:1.6rem;height:1.6rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.9rem;font-weight:bold}
.alert{padding:1rem;border-radius:8px;margin:1.5rem 0;display:flex;align-items:center;background:rgba(255,152,0,0.15);border-left:4px solid #ff9800}
.alert-icon{margin-right:1rem;font-size:1.2rem;color:#ff9800}
.alert-content{color:#ffcc80}
@media (max-width:768px){.app-container{padding:1.5rem}
.button-group{flex-direction:column}
.btn{width:100%}
}
.spinner{width:1.2rem;height:1.2rem;border:2px solid rgba(255,255,255,0.3);border-radius:50%;border-top-color:white;animation:spin 1s ease-in-out infinite}
@keyframes spin{to{transform:rotate(360deg)}
}
